package com.bdd.model.bo.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class OrderItemListBO {
    private Integer orderItemId;


    /**
     * 购买时价格
     */
    @ApiModelProperty(value="购买时价格")
    private Double newPrice;

    @ApiModelProperty(value="购买数量")
    private Integer count;

    /**
     * 折扣金额
     */
//    @ApiModelProperty(value="折扣金额")
//    private Integer discountAmount;

    @ApiModelProperty(value="商品id")
    private Integer id;

    @ApiModelProperty(value="商品名称")
    private String name;

    @ApiModelProperty(value="商品原价")
    private Double oldPrice;

    @ApiModelProperty(value = "规格")
    private String size;

    @ApiModelProperty(value = "规格id")
    private Integer sizeId;

    @ApiModelProperty(value="订单id")
    private Integer orderItemOrderId;

    @ApiModelProperty(value="优惠力度")
    private String discount;

    @ApiModelProperty(value="状态")
    private String status;

//    @ApiModelProperty(value="折扣")
//    private String discounts;

    @ApiModelProperty(value="折扣名称")
    private String promotionName;
}
